 {
        
    cc.Class({
            extends: cc.Component,
            properties: {
                Label_Nums: {
                    default: null,
                    type: cc.Label
                }
            },
            onLoad: function () {
                this.anim = this.getComponent(cc.Animation), this.finallyFunction = 0;
            },
            start: function () {
            },
            setIsShine: function (e) {
                this.isShine = e;
            },
            setCallFunc: function (e) {
                this.finallyFunction = e;
            },
            getIsShine: function () {
                return this.isShine;
            },
            updateTile: function (e) {
                this.Label_Nums.string = e + "元";
            },
            playFanPaiAnim: function () {
                this.getIsShine() && (this.anim.on("finished", function () {
                    this.scheduleOnce(function () {
                        this.afterFanPai();
                    }.bind(this), 1);
                }.bind(this), this), this.anim.play("fanpai_zhengmian"));
            },
            afterFanPai: function () {
                if (this.getIsShine()) {
                    var e = this;
                    this.scheduleOnce(function () {
                        e.finallyFunction ? (e.finallyFunction(), e.finallyFunction = 0) : cc.log("playFanPaiAnim+++++++++=");
                    }, 1), this.anim.off("finished", function () {
                        this.afterFanPai();
                    }.bind(this), this), this.setIsShine(!1), this.anim.play("fanpai_fanmian");
                }
            },
            playFanPaiFront: function () {
                this.anim.play("fanpai_zhengmian");
            },
            playFanPaiReverse: function () {
                this.anim.play("fanpai_fanmian");
            }
        })
    }